package com.wgy.day11.类和对象;

public class Demo01Person {
    public static void main(String[] args) {
        Person person = new Person();
        person.show();


        person.name = "赵丽颖";
        person.setAge(18);
        person.getAge();
        System.out.println(person.getAge());
        person.show();


        person.name = "鹿晗";
        person.setAge(-12);
        person.getAge();
        System.out.println(person.getAge());

        person.show();

    }
}
